/* Copyright (c) 2009-2010, Sean A.O. Harney <sharney3@gmail.com> */

#ifndef FUZZER_DEBUG_H
#define FUZZER_DEBUG_H

#define DEBUG_LEVEL_QUIET -1
#define HASH_MARK_RATIO 10
//smaller than all other levels 0,1,2 etc

/* globals,note:had to define in a C file for some OS (os-x) */
extern int debug_level;
extern FILE *debug_file;

/*prototypes */
void debug_init(signed int level, const char *filepath);
void debug_close(void);
void debug_unquiet_printf(const char *fmt, ...);
void debug1_printf(const char *fmt, ...);
void debug2_printf(const char *fmt, ...);

#endif				/* FUZZER_DEBUG_H */
